package com.hch.maker.template.model;


import com.hch.maker.meta.Meta;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.List;

/**
 * @author 86134
 * @version 1.0
 * @description TODO
 * @date 2024/7/31 14:11
 */
@Data
@NoArgsConstructor
public class TemplateMakerModelConfig {

    private List<ModelInfoConfig> models;

    private ModelGroupConfig modelsGroupConfig;

    @Data
    @NoArgsConstructor
    public static class ModelInfoConfig{

        private String fieldName;
        private String type;
        private String description;
        private Object defaultValue;
        private String abbr;
        private String replaceText;
    }

    @Data
    @NoArgsConstructor
    public static class ModelGroupConfig{
        private String condition;

        private String groupKey;

        private String groupName;

        private String type;

        private String description;
    }
}
